from bigchaindb import Bigchain  # crypto
from bigchaindb_driver.crypto import generate_keypair
from rest_framework.decorators import api_view

b = Bigchain()
# conn = r.connect(db='bigchain')
import pymongo
conn = pymongo.MongoClient(host='127.0.0.1',port=27017)
db = conn['bigchain']

class DbManager:

    def get_transfer(pub_key):
        curser = db['bigchain'].find()
        print(curser)



